﻿namespace MDSAdministration
{
    public enum ServerDirection
    {
        ServerA,
        ServerB
    };

    public enum MDSDataTypes
    {
        String,
        DateTime,
        Decimal,
        Int32
    };

    public class Constants
    {

        public const string EXECELUPLOAD_CODE_DUP = "_MDSAdmin_CodeDup";
        public const string EXECELUPLOAD_CODE_MATCH = "_MDSAdmin_CodeMatch";
        public const string EXECELUPLOAD_NAME_MATCH = "_MDSAdmin_CodeName";
        public const string EXCELUPLOAD_MDSADMIN = "_MDSAdmin_";
        public const string SHEETDETAILSLOAD = "MDSAdministration.SheetDetailLoad";
        public const string ATTRIBUTE_TYPE_LEAF = "Leaf";
        public const string MODEL_ID = "Model_ID";
        public const string MODEL_NAME = "Model_Name";
        public const string MODEL_ISSYSTEM = "Model_IsSystem";
        public const string MODELVERSION_ID = "ModelVersion_ID ";
        public const string MODELVERSION_NAME = "ModelVersion_Name";
        public const string ENTITY_ID = "Entity_ID";
        public const string ENTITY_NAME = "Entity_Name";
        public const string ENTITY_ISSYSTEM = "Entity_IsSystem";
        public const string ENTITY_ENTITYTABLE = "EntityTable";
        public const string ENTITY_SECURITYTABLE = "SecurityTable";
        public const string ENTITY_HIERARCHYTABLE = "HierarchyTable";
        public const string ENTITY_HIERARCHYPARENTTABLE = "HierarchyParentTable";
        public const string ENTITY_COLLECTIONTABLE = "CollectionTable";
        public const string ENTITY_COLLECTIONMEMBERTABLE = "CollectionMemberTable";
        public const string ENTITY_STAGINGBASE = "StagingBase";
        public const string ENTITY_ISBASE = "IsBase";
        public const string ENTITY_ISFLAT = "IsFlat";
        public const string ENTITY_CODEGENSEED = "CodeGenSeed";
        public const string ENTITY_MUID = "Entity_MUID";

        public const string ATTRIBUTE_ID = "Attribute_ID";
        public const string ATTRIBUTE_NAME = "Attribute_Name";
        public const string ATTRIBUTE_SORTORDER = "Attribute_SortOrder";
        public const string ATTRIBUTE_ISSYSTEM = "Attribute_IsSystem";
        public const string ATTRIBUTE_MEMBERTYPEID = "Attribute_MemberTypeID";
        public const string ATTRIBUTE_MUID = "Attribute_MUID";
        public const string ATTRIBUTE_ENTITYID = "Attribute_EntityID";
        public const string ATTRIBUTE_ENTITYNAME = "Attribute_EntityName";
        public const string ATTRIBUTE_DISPLAYNAME = "Attribute_DisplayName";
        public const string ATTRIBUTE_TABLECOLUMN = "Attribute_TableColumn";
        public const string ATTRIBUTE_ATTRIBUTETYPEID = "Attribute_AttributeTypeID";
        public const string ATTRIBUTE_DATATYPEID = "Attribute_DataTypeID";
        public const string ATTRIBUTE_DATATYPEINFORMATION = "Attribute_DataTypeInformation";
        public const string ATTRIBUTE_INPUTMASKID = "Attribute_InputMaskID";
        public const string ATTRIBUTE_DISPLAYWIDTH = "Attribute_DisplayWidth";
        public const string ATTRIBUTE_DOMAINENTITYID = "Attribute_DomainEntityID";
        public const string ATTRIBUTE_DOMAINENTITYNAME = "Attribute_DomainEntityName";
        public const string ATTRIBUTE_DOMAINENTITYMUID = "Attribute_DomainEntityMUID";
        public const string ATTRIBUTE_CHANGETRACKINGGROUP = "Attribute_ChangeTrackingGroup";
        public const string ATTRIBUTE_ISCODE = "Attribute_IsCode";
        public const string ATTRIBUTE_ISNAME = "Attribute_IsName";
        public const string ATTRIBUTE_ISREADONLY = "Attribute_IsReadOnly";
        public const string ATTRIBUTE_ATTRIBUTEVALIDATIONID = "Attribute_AttributeValidationID";
        public const string ATTRIBUTE_ISREQUIRED = "Attribute_IsRequired";
        public const string ATTRIBUTE_NEWCODE = "NewCode";
        public const string NAME = "NAME";

        public const string ATTRIBUTEGROUP_NAME = "AttributeGroupName";
        public const string ATTRIBUTEGROUP_MUID = "AttributeGroup_MUID";
        public const string ATTRIBUTEGROUP_SORTORDER = "AttributeGroupSortOrder";
        public const string ATTRIBUTEGROUPDETAIL_MUID = "AttributeGroupDetail_MUID";
        public const string ATTRIBUTEGROUPDETAIL_SORTORDER = "AttributeGroupDetailSortOrder";

        public const string VIEW_NAME = "View_Name";
        public const string VIEW_VIEWFORMATID = "View_ViewFormatID";
        public const string VIEW_DERIVEDHIERARCHYID = "View_DerivedHierarchyID";
        public const string VIEW_LEVELS = "View_Levels";
        public const string VIEW_ISDIRTY = "View_IsDirty";
        public const string VIEW_PHYSICALLYEXISTS = "View_PhysicallyExists";

        public const string MDSADMINISTRATION_COMPAREDATTRIBUTES = "MDSAdministration.ComparedAttributes";
        public const string MDSADMINISTRATION_COMPAREDATTRIBUTEGROUPS = "MDSAdministration.ComparedAttributeGroups";
        public const string MDSADMINISTRATION_COMPAREDATTRIBUTEGROUPDETAILS = "MDSAdministration.ComparedAttributeGroupDetails";
        public const string MDSADMINISTRATION_COMPAREDOBJECT = "MDSAdministration.ComparedObject";
        public const string MDSADMINISTRATION_DEPLOYMENTSTEP = "MDSAdministration.DeploymentStep";


        public const string MDSADMINISTRATION_ENTITYDATACOMPREDETAILS = "MDSAdministration.EntityDataCompreDetails";
        public const string MDSADMINISTRATION_COLUMNCOMPARE = "MDSAdministration.ColumnCompare";

        public const string MDSADMINISTRATION_SERVA = "servA_";
        public const string MDSADMINISTRATION_SERVB = "servB_";

        public const string MDSADMINISTRATION_HASH = "Hash";
        public const string MDSADMINISTRATION_CODE = "Code";
        public const string MDSADMINISTRATION_NAME = "Name";
        public const string MDSADMINISTRATION_HASHCODE = "HashCode";
        
        public const string MDSADMINISTRATION_ISCHECKED = "IsChecked";

        public const string SYSTEM_DATA_DATAROWVIEW = "System.Data.DataRowView";
        public const string SYSTEM_DATA_DATATABLE = "System.Data.DataTable";
        public const string SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK = "System.Windows.Controls.TextBlock";
        public const string SYSTEM_DATA_DATAROW = "System.Data.DataRow";
        public const string SYSTEM_STRING = "System.String";
        public const string SYSTEM_DATETIME = "System.DateTime";
        public const string SYSTEM_DECIMAL = "System.Decimal";
        public const string SYSTEM_INT32 = "System.Int32";

        public const string SYSTEM_PRODUCTNAME = "ProductName";
        public const string SYSTEM_PRODUCTVERSION = "ProductVersion";
        public const string SYSTEM_PRODUCTREGISTRATIONKEY = "ProductRegistrationKey";
        public const string SYSTEM_SCHEMAVERSION = "SchemaVersion";

        public const string OBJECT_TYPE_ENTITY = "Entity";
        public const string OBJECT_TYPE_ATTRIBUTE = "Attribute";
        public const string OBJECT_TYPE_ATTRIBUTEGROUP = "AttributeGroup";
        public const string OBJECT_TYPE_VIEW = "View";

        public const int ATTRIBUTE_TYPE_FREEFORM = 1;
        public const int ATTRIBUTE_TYPE_DOMAIN = 2;
        public const int ATTRIBUTE_TYPE_SYSTEM = 3;
        public const int ATTRIBUTE_TYPE_FILE = 4;

        public const int DATA_TYPES_TEXT = 1;
        public const int DATA_TYPES_NUMBER = 2;
        public const int DATA_TYPES_DATETIME = 3;
        public const int DATA_TYPES_LINK = 6;

        public const byte MEMEBER_STATUS_OK = 1;
        public const byte MEMEBER_STATUS_INACTIVE = 2;
        public const string MEMEBER_STATUS_ID = "Status_ID";
        

        public const int MEMBER_TYPE_LEAF = 1;

        public const string DATA_COMPARE_FILTER_ALL = "All";
        public const string DATA_COMPARE_FILTER_SAME = "Same";
        public const string DATA_COMPARE_FILTER_DIFFERENT = "Different";


        public const string  MDS_STAGING_ENTITY_NULL = "NULL";
        public const string  MDS_STAGING_ENTITY_NULL_STRING = "~NULL~";
        public const string  MDS_STAGING_ENTITY_NULL_DATETIME = "5555-11-22T12:34:56";
        public const string  MDS_STAGING_ENTITY_NULL_DECIMAL = "-98765432101234567890";

        public const string REPLICATION_SUBSCRIBER = "subscriber";
        public const string REPLICATION_SUBSCRIBER_DB = "subscriber_db";
        public const string REPLICATION_PUBLICATION = "publication";


        public const string DATABASE_CHECK_IS_BROKER_ENABLED = "is_broker_enabled";
        public const string DATABASE_CHECK_IS_CLR_ENABLED = "IsCLREnabled";

        public const string DATABASE_NAME = "databaseName";

        public class InputMask
        {
            public class InputMaskText
            {
                public const int NONE = 1;
            }

            public class InputMaskNumber
            {
                public const int NEGATIVE_HASH = 1;
                public const int HASH = 2;
            }
            public class InputMaskDateTime
            {
                public const int FORWARDSLASH_MMddyy = 1;
                public const int FORWARDSLASH_MMddyyyy = 2;
                public const int FORWARDSLASH_ddMMyy = 3;
                public const int FORWARDSLASH_ddMMyyyy = 4;
                public const int FORWARDSLASH_yyMMdd = 5;
                public const int FORWARDSLASH_yyyyMMdd = 6;
                public const int DOT_ddMMyy = 7;
                public const int DOT_ddMMyyyy = 8;
                public const int DASH_yyMMdd = 9;
                public const int DASH_yyyyMMdd = 10;
                public const int DOT_dMyy = 11;
                public const int DOT_dMyyyy = 12;
                public const int DASH_ddMMyy = 13;
                public const int DASH_ddMMyyyy = 14;
                public const int DOT_yyMMdd = 15;
                public const int DOT_yyyyMMdd = 16;
                public const int DASH_dMyy = 17;
                public const int DASH_dMyyyy = 18;
            }
            public class InputMaskLink
            {
                public const int ALL = 1;
                public const int AllImages = 2;
                public const int bmp = 3;
                public const int csv = 4;
                public const int doc = 5;
                public const int dot = 6;
                public const int eps = 7;
                public const int gif = 9;
                public const int htm = 10;
                public const int html = 11;
                public const int jpg = 12;
                public const int mdb = 13;
                public const int pdf = 14;
                public const int png = 15;
                public const int ppt = 16;
                public const int rar = 17;
                public const int rtf = 18;
                public const int tif = 19;
                public const int txt = 20;
                public const int xls = 21;
                public const int xml = 22;
                public const int zip = 23;
                public const int docx = 24;
                public const int pptx = 25;
                public const int xlsx = 26;
                public const int accdb = 27;
            }
        }

    }

    

    

    

    

    
}
